<?php

namespace Admin\Model;
use Think\Model;

class LinkModel extends Model {
    protected $_validate = array(
        array('title','require','网站标题必须！'),
        array('url','URL','网址格式不正确！'),
    );

    protected $_auto = array (
            array('ctime','time',1,'function'),
            array('endtime','strtotime',3,'function'),
    );
}